package dbsync4j.core.types;

public enum ForeignKeyRule {

	/** cascade */
	cascade(-1),
	/** no action. */
	noAction(0),
	/** restrict. */
	restrict(1),
	/** Default. */
	setDefault(2),
	/** Null. */
	setNull(3),
	/** Other. */
	unknow(4);
	
	private final int id;

	private ForeignKeyRule(final int id)	{
		this.id = id;
	}

	public int getId() {
		return id;
	}
}
